const express = require('express')
const router = express.Router()
// 导入用户路由处理函数对应的模块
const home = require('../../router_handler/home')
const { auth } = require('../../utils')

// 登录
router.get('/data', auth, home.data)
// 用户基本信息
router.get('/notice', auth, home.notice)
// 发布新通知
router.post('/publish', auth, home.publish)


module.exports = router